

<body>

<div class="warp h">
        <!--header-->
        <header class="hd br">
            <a href="<?php echo $base_url?>home/account/myinfo" class="l-icon only-icon">
            <i class="iconfont icon-left1"></i>      
        </a>
            <p class="tit2">
                售后
            </p>

        </header>

        <div class="sh-box">
            <i class="iconfont icon-dianhua"></i>
            <p class="txt_1">4001661355</p>
            <p class="txt_2">客服热线</p>
        </div>


        <div class="modal-alter">
            <div class="cont">
                <div class="w">
                <p>确认拨打</p>
                <p>4001661355</p>
                </div>
            </div>
            <div class="ft">
                <a href="#12" class="cancel">取消</a>
                <a href="tel:4001661355" class="confirm">确认</a>
            </div>
        </div>


    </div>
<div class="maksbox">

</div>
    <script src="/static/dist/js/base.js"></script>
    <script>
        // 矫正rem
        function correctrem() {
            var rem_full_width = $("<div id='rem-test' style='width:7.5rem'></div>").appendTo($('body')).width();
            var device_width = Math.min(document.documentElement.clientWidth, 640);
            if (rem_full_width !== device_width) {
                document.documentElement.style.fontSize = (device_width / 7.5) * (device_width / rem_full_width) + 'px';
            }
            $('#rem-test').remove();
        }
        correctrem();

        function alertShow(){
            $(".maksbox").addClass("active");
            $(".modal-alter").addClass("active");
        }
        //  $(".maksbox").on('click',function(){
        //      $(".modal-alter").removeClass("active");
        //      $(this).removeClass("active");
             
        //  })
        $(".sh-box").on('click', function () {
            alertShow()
        })
        $(".cancel").on('click',function(){
             $(".modal-alter").removeClass("active");
             $(".maksbox").removeClass("active");
        })
    </script>

</body>

</html>
